Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
return;
}
if (!_pushNotifications->isReady()) {
- emit pushNotificationsDisabled(this);
+ emit pushNotificationsDisabled(sharedFromThis());
}
if (!_pushNotificationsReconnectTimer.isActive()) {
_pushNotificationsReconnectTimer.start();
void appPasswordRetrieved(QString);
void pushNotificationsReady(const OCC::AccountPtr &account);
- void pushNotificationsDisabled(OCC::Account *account);
+ void pushNotificationsDisabled(const OCC::AccountPtr &account);
void userStatusChanged();